home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / need / NeedType.as < prev    next >
Text File  |  2011-09-19  |  3KB  |  140 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    f.h[┬º┬ºconstant(4)] extends f[┬º┬ºconstant(5)];
  33.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function()
  34.    {
  35.       super();
  36.    }[┬º┬ºconstant(6)];
  37.    _loc2_[┬º┬ºconstant(7)] = function()
  38.    {
  39.    };
  40.    _loc2_[┬º┬ºconstant(8)] = function()
  41.    {
  42.    };
  43.    _loc2_[┬º┬ºconstant(9)] = function()
  44.    {
  45.       var _loc5_ = _global[┬º┬ºconstant(10)][┬º┬ºconstant(11)][┬º┬ºconstant(12)];
  46.       var _loc3_ = 0;
  47.       while(_loc3_ < _loc5_)
  48.       {
  49.          var _loc4_ = _global[┬º┬ºconstant(10)][┬º┬ºconstant(13) + _global[┬º┬ºconstant(10)][┬º┬ºconstant(11)][_loc3_]];
  50.          if(this[┬º┬ºconstant(14)](_loc4_))
  51.          {
  52.             this[┬º┬ºconstant(15)][┬º┬ºconstant(16)](_loc4_);
  53.             break;
  54.          }
  55.          _loc3_ = _loc3_ + 1;
  56.       }
  57.    };
  58.    _loc2_[┬º┬ºconstant(14)] = function(camp, skipRange)
  59.    {
  60.       if(!this[┬º┬ºconstant(17)](camp))
  61.       {
  62.          return false;
  63.       }
  64.       if(!f[┬º┬ºconstant(19)][┬º┬ºconstant(20)][┬º┬ºconstant(21)](camp,this[┬º┬ºconstant(18)]))
  65.       {
  66.          return false;
  67.       }
  68.       if(!f[┬º┬ºconstant(19)][┬º┬ºconstant(20)][┬º┬ºconstant(23)](camp,this[┬º┬ºconstant(22)]))
  69.       {
  70.          return false;
  71.       }
  72.       if(camp[┬º┬ºconstant(24)] == undefined)
  73.       {
  74.          return false;
  75.       }
  76.       if(this instanceof f.h[┬º┬ºconstant(25)])
  77.       {
  78.          if(camp[┬º┬ºconstant(26)] >= camp[┬º┬ºconstant(27)])
  79.          {
  80.             return false;
  81.          }
  82.       }
  83.       if(!skipRange)
  84.       {
  85.          if(!this[┬º┬ºconstant(15)][┬º┬ºconstant(28)](camp))
  86.          {
  87.             return false;
  88.          }
  89.       }
  90.       return true;
  91.    };
  92.    _loc2_[┬º┬ºconstant(17)] = function(camp)
  93.    {
  94.       var _loc3_ = this[┬º┬ºconstant(29)][┬º┬ºconstant(12)];
  95.       var _loc2_ = 0;
  96.       while(_loc2_ < _loc3_)
  97.       {
  98.          if(camp instanceof this[┬º┬ºconstant(29)][_loc2_])
  99.          {
  100.             return true;
  101.          }
  102.          _loc2_ = _loc2_ + 1;
  103.       }
  104.       return false;
  105.    };
  106.    _loc2_[┬º┬ºconstant(30)] = function(camp)
  107.    {
  108.       if(!this[┬º┬ºconstant(17)](camp))
  109.       {
  110.          return false;
  111.       }
  112.       if(camp[┬º┬ºconstant(31)][┬º┬ºconstant(12)] > 0)
  113.       {
  114.          return false;
  115.       }
  116.       if(camp[┬º┬ºconstant(32)][┬º┬ºconstant(12)] > 0)
  117.       {
  118.          return false;
  119.       }
  120.       if(this instanceof f.h[┬º┬ºconstant(25)])
  121.       {
  122.          if(camp[┬º┬ºconstant(26)] >= camp[┬º┬ºconstant(27)])
  123.          {
  124.             return false;
  125.          }
  126.       }
  127.       if(camp[┬º┬ºconstant(24)] == undefined)
  128.       {
  129.          return false;
  130.       }
  131.       if(f[┬º┬ºconstant(35)][┬º┬ºconstant(36)][┬º┬ºconstant(37)](this[┬º┬ºconstant(15)][┬º┬ºconstant(34)],this[┬º┬ºconstant(15)][┬º┬ºconstant(33)],camp[┬º┬ºconstant(34)],camp[┬º┬ºconstant(33)]) > camp[┬º┬ºconstant(24)])
  132.       {
  133.          return false;
  134.       }
  135.       return true;
  136.    };
  137.    ┬º┬ºpush(┬º┬ºconstant(38)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(6)],null,1));
  138. }
  139. §§pop();
  140.